package com.hwadee.teachingprocessmanagementsystem.controller.teacher;

import com.hwadee.teachingprocessmanagementsystem.util.result.DataResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: 教师教室申请控制器，负责教师的教室申请请求
 * @Author: Jukomu
 * @Package: com.hwadee.teachingprocessmanagementsystem.controller.student
 * @Project: TeachingProcessManagementSystem
 * @name: ClassroomsController
 * @Date: 2024/7/12-9:05
 * @Filename: ClassroomsController
 */
@RestController("TeacherClassroomsController")
@RequestMapping("teacher/classroom")
public class ClassroomsController {
    /**
     * 教室申请
     * @return
     */
    @RequestMapping("application")
    public DataResult application(@RequestParam("student-number") String studentNumber, @RequestParam("campusId") String campusId) {
        System.out.println(studentNumber);
        System.out.println(campusId);
        return DataResult.succ();
    }

    /**
     * 我的教室申请
     * @return
     */
    @RequestMapping("my-application")
    public DataResult myApplication() {
        return DataResult.succ();
    }

    /**
     * 教室申请管理(管理员)
     * @return
     */
    @RequestMapping("application-management")
    public DataResult applicationManagement() {
        return DataResult.succ();
    }
}
